package com.cskaoyan.utils;


/**
 * @author: lsy
 * @class: OrderStateUtil
 * @description: 状态码转化成文字
 */
public class OrderStateUtil {

    public static String getStatusText(int status) {
        if (status == 101) {
            return "未付款";
        } else if (status == 102) {
            return "用户取消";
        } else if (status == 103) {
            return "系统取消";
        } else if (status == 201) {
            return "已付款";
        } else if (status == 202) {
            return "申请退款";
        } else if (status == 203) {
            return "已退款";
        } else if (status == 301) {
            return "已发货";
        } else if (status == 401) {
            return "用户收货";
        } else if (status == 402) {
            return "系统收货";
        }
        return "状态异常";
    }
}
